package sundun.sharding.annotation;

import sundun.sharding.enums.OperateTypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 迁移源数据执行方法标识 (只能添加至实现类方法上，接口方法不生效)
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ExecuteMethodMark {
    String value() default "";

    OperateTypeEnum tyoe() default OperateTypeEnum.SELECT;
}
